<div id="editDialog">
    <div id="modalLoading"></div>
</div>

<div id="lookupForm">
<form method="get">
    <label for="userId">Google ID:</label>
    <input type="text" id="userId" name="userId" value="<?php echo $this->userId; ?>" />@<?php echo $this->gdataDomain; ?>
    <input type="submit" value="Find User" />
</form>
</div>

<?php if (isset($this->userId)): ?>
<?php if (is_null($this->thisUser)): ?>
<div class="ui-state-highlight ui-corner-all">
    <p><span class="ui-icon ui-icon-info" style="float: left; margin-right: 0.3em;"></span>
    <b>User (<?php echo $this->userId; ?>) was not found</b>
    </p>
</div>
<?php else: ?>
<div class="ui-helper-clearfix"></div>
<div id="pageTitle"><?php echo $this->title; ?></div>
<div id="userDetails">
    <ul>
        <?php foreach ($this->tabs as $tab): ?>
        <li><a class="tab" title="<?php echo $tab['link']; ?>" href="<?php echo $this->url(array('module' => 'tab', 'controller' => $tab['link'], 'action' => 'index', 'userId' => $this->userId), 'default', true); ?>"><span><?php echo $tab['title']; ?></span></a></li>
        <?php endforeach; ?>
    </ul>
</div>
<?php endif; ?>
<?php endif; ?>